package com.pactera.miyuangroup.db.entity;

import java.io.Serializable;

import java.util.Date;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.plugins.Page;
import com.pactera.miyuangroup.db.enums.ShowState;
import com.pactera.miyuangroup.vo.request.web.TransportReques;
import com.pactera.miyuangroup.vo.response.web.TransportRes;

import java.io.Serializable;

/**
 * <p>
 * 用户信息表
 * </p>
 *
 * @author WangWu
 * @since 2018-04-18
 */
@TableName("sys_login_user")
public class LoginUser extends Model<LoginUser> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
	private String id;
    /**
     * 用户名
     */
	private String userName;
    /**
     * 姓名
     */
	private String name;
    /**
     * 密码
     */
	private String userPassword;
    /**
     * 是否APP
     */
	private Boolean app;
    /**
     * 上次登入IP
     */
	private String loginIp;
    /**
     * 状态(0启用,1删除,2停用)
     */
	private ShowState state;
    /**
     * 上次登入时间
     */
	private Date loginTime;
    /**
     * 创建人
     */
	private String creater;
    /**
     * 创建时间
     */
	private Date createrTime;
    /**
     * 修改人
     */
	private String modifier;
    /**
     * 修改时间
     */
	private Date modifierTime;
    /**
     * 工号
     */
	private String jobNumber;
    /**
     * 电话
     */
	private String phone;
    /**
     * 配送车辆号码
     */
	private String vehiclePhone;
    /**
     * 组织结构信息表主键ID
     */
	private String organizationId;
    /**
     * 原始ID
     */
	private String originalId;


	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getUserPassword() {
		return userPassword;
	}

	public void setUserPassword(String userPassword) {
		this.userPassword = userPassword;
	}

	public Boolean getApp() {
		return app;
	}

	public void setApp(Boolean app) {
		this.app = app;
	}

	public String getLoginIp() {
		return loginIp;
	}

	public void setLoginIp(String loginIp) {
		this.loginIp = loginIp;
	}

	public ShowState getState() {
		return state;
	}

	public void setState(ShowState state) {
		this.state = state;
	}

	public Date getLoginTime() {
		return loginTime;
	}

	public void setLoginTime(Date loginTime) {
		this.loginTime = loginTime;
	}

	public String getCreater() {
		return creater;
	}

	public void setCreater(String creater) {
		this.creater = creater;
	}

	public Date getCreaterTime() {
		return createrTime;
	}

	public void setCreaterTime(Date createrTime) {
		this.createrTime = createrTime;
	}

	public String getModifier() {
		return modifier;
	}

	public void setModifier(String modifier) {
		this.modifier = modifier;
	}

	public Date getModifierTime() {
		return modifierTime;
	}

	public void setModifierTime(Date modifierTime) {
		this.modifierTime = modifierTime;
	}

	public String getJobNumber() {
		return jobNumber;
	}

	public void setJobNumber(String jobNumber) {
		this.jobNumber = jobNumber;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getVehiclePhone() {
		return vehiclePhone;
	}

	public void setVehiclePhone(String vehiclePhone) {
		this.vehiclePhone = vehiclePhone;
	}

	public String getOrganizationId() {
		return organizationId;
	}

	public void setOrganizationId(String organizationId) {
		this.organizationId = organizationId;
	}

	public String getOriginalId() {
		return originalId;
	}

	public void setOriginalId(String originalId) {
		this.originalId = originalId;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "LoginUser{" +
			"id=" + id +
			", userName=" + userName +
			", name=" + name +
			", userPassword=" + userPassword +
			", app=" + app +
			", loginIp=" + loginIp +
			", state=" + state +
			", loginTime=" + loginTime +
			", creater=" + creater +
			", createrTime=" + createrTime +
			", modifier=" + modifier +
			", modifierTime=" + modifierTime +
			", jobNumber=" + jobNumber +
			", phone=" + phone +
			", vehiclePhone=" + vehiclePhone +
			", organizationId=" + organizationId +
			", originalId=" + originalId +
			"}";
	}
}
